const VIRTUAL_PATH = process.env.VUE_APP_VIRTUAL_PATH;
export default {
  path: `${VIRTUAL_PATH}/device`,
  meta: {
    title: "模版",
  },
  component: (resolve) => require(["@/views/home.vue"], resolve),
  children: [
    {
      path: `${VIRTUAL_PATH}/device/list`,
      meta: {
        title: "设备管理",
      },
      component: (resolve) => require(["@/views/device/list/index.vue"], resolve),
    },
    {
      path: `${VIRTUAL_PATH}/device/group`,
      meta: {
        title: "权限组设备",
      },
      component: (resolve) => require(["@/views/group/device/index.vue"], resolve),
    },
    {
      path: `${VIRTUAL_PATH}/device/passrecord`,
      meta: {
        title: "通行记录",
      },
      component: (resolve) => require(["@/views/record/pass/index.vue"], resolve),
    },
    {
      path: `${VIRTUAL_PATH}/device/developer`,
      meta: {
        title: "开发者服务",
      },
      component: (resolve) => require(["@/views/device/developer/index.vue"], resolve),
    },
  ],
};
